package cn.support.neo.mvp.core.base;

import javax.inject.Singleton;

/**
 * Name:自定义Result错误
 * Author: WK（wangkun@xjzhicheng.com)
 * Date: 2016-06-22
 * Describe: PLEASE TO FIXME...
 */
@Singleton
public class ResultException extends RuntimeException {
    private int errCode = 0;

    public ResultException(int errCode, String msg) {
        super(msg);
        this.errCode = errCode;
    }

    public int getErrCode() {
        return errCode;
    }

}
